//
//  FeedBackViewController.m
//  LotteryProject
//
//  Created by 阳光 on 17/7/9.
//  Copyright © 2017年 阳光. All rights reserved.
//

#import "FeedBackViewController.h"

@interface FeedBackViewController ()

@end

@implementation FeedBackViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    PlaceholderTextView *textView=[[PlaceholderTextView alloc]initWithFrame:CGRectMake(0,74,APPW,APPH/2)];
    textView.placeholderLabel.font=FontNumber(15);
    textView.placeholder=@"请留下您宝贵的意见";
    textView.font=FontNumber(15);
    textView.backgroundColor=WhiteColor;
    textView.maxLength=1000;
    textView.showsVerticalScrollIndicator=NO;
    [self.view addSubview:textView];
    [textView didChangeText:^(PlaceholderTextView *textView) {
        NSLog(@"%@",textView.text);
    }];

    [self submitBtnBottom];
}

-(void)submitBtnBottom
{
    UIButton *submitBtn=[AppUI createButtonWithText:@"提交" andWithTextColor:WhiteColor andWithFontfloat:18 andWithBtnAction:^{

    }];
    submitBtn.backgroundColor=MainColor;
    [self.view addSubview:submitBtn];
    submitBtn.frame=CGRectMake(0,APPH-kmargin*5,APPW,kmargin*5);
}


@end
